<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";		
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>休假申请查询</title>
    
    <c:import url="/liger/liger.jsp"></c:import>
    <style type="text/css">
    .tlayout{width:100%;height:100%;border:0px;}
	.tlayout td{Vertical-align:top;}
	body{overflow:auto;}
    </style>
  </head>
  
  <body>
  	<c:set var="path" value="${pageContext.request.contextPath}/hrController.do??xjInfoExt&xjId=${xjId}"></c:set>
  	<table class="tlayout" cellspacing=1 cellpadding=0>
  	<tr>
  	<td>
  		<form action="${path}" method="post" name="theForm">
	     <table width="100%"  border=0 cellspacing=1 cellpadding=0 class="tinfo">
	     <!-- 
	     <tr>
	     	<td colspan="6" class="tl">
	     		<input type="button" onclick="theForm.submit();" value=" 本 月 "/>
	     		<input type="button" onclick="theForm.submit();" value=" 上 月 "/>
	     		<input type="button" onclick="theForm.submit();" value=" 本 年 "/>
	     	</td>
	     </tr>
	      -->
	     </table>
	     </form>
	     
	     <table id="mytable" width="100%"  border=0 cellspacing=1 cellpadding=0 class="list" style="table-layout:auto;" >
	     <thead>
	    	<tr>
	    	<th>序号</th>
	    	<th>申请时间</th>
	    	<th>休假类型</th>
	    	<th>天数</th>
	    	<th>备注</th>
	    	<th>申请状态</th>
	    	</tr>
	    <thead>
	    	<c:forEach items="${xjExt}" var="list" varStatus="index">
	    		<tr onmouseover="this.style.background='yellow';" onmouseout="this.style.background='#ffffff'">
	    		<td>${index.index+1}</td>
	    		<td><fmt:formatDate value="${list.createDate}" pattern="yyyy-MM-dd hh:mm:ss"/></td>
	    		<td title="${list.xjOrder}">${list.xjOrder}</td>
	    		<td title="${list.orderDays}">${list.orderDays}</td>
	    		<td title="${list.remark}">${list.remark}</td>
	    		<td><a href='#'>审批中</a></td>
	    		</tr>
	    	</c:forEach>
	    </table>
  	</td>
  	</tr>
    </table>
    
  </body>
</html>



